year=[89,87,86,85,84,00,99]
for index,value in enumerate(year):
    #print(a,b)输出索引和对应的值
    if value!=0:
        year[index]=int('19'+str(value))
    else:
        year[index]=int('200'+str(value))
print(year)
print('--------------------------------')
year.sort()
print(year)


